package stark.app.function.calculator;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.FragmentTransaction;
import stark.app.R;

/**
 * Author：daizhongbin on 2021/4/15
 * Email：1027154338@qq.com
 * Desc:
 */
public class CustomCalActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_custom_cal);
        addCustomCalFragment();
    }

    private void addCustomCalFragment() {
        FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
        transaction.add(R.id.fl_fragment, new CustomCalFragment());
        transaction.commit();
    }
}
